//index.js
//获取应用实例
const app = getApp()

Page({
    data: {
        indicatorDots: true,
        autoplay: false,
        interval: 3000,
        duration: 500,
    },
    onLoad: function() {
        // wx.navigateTo({
        //     url: '../myOrder/myOrder',
        // })
    },
    //打开子窗口
    openChildWin: function (param){
        var name = param.currentTarget.dataset.url;
        var value = param.currentTarget.dataset.param;
        wx.navigateTo({
            url: "../" + name + "/" + name + "?" + value
        });
        this.setData({
            showBtn: false,
            showMenuBtn: false,
            idTouchMove: false,
            touchId: -1
        });
    }
})